(function() {
    var userIncrement = echarts.init(document.getElementById('usreBrokenLineAnalyzer'))

    var option = {
        title: {
            text: 'User Analyzer',
            left: 'center'
        },
        tooltip: {
            trigger: 'axis'
        },
        xAxis: {
            type: 'category',
            data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16']
        },
        toolbox: {
            show: true,
            feature: {
                magicType: {show: true, type: ['line', 'bar']},
                saveAsImage: {show: true}
            }
        },
        yAxis: {
            type: 'value'
        },
        series: [{
            data: [820, 932, 901, 934, 1290, 1330, 1320, 820, 456, 890, 456, 345, 992, 994, 998, 876],
            type: 'line'
        }]
    };

    userIncrement.setOption(option)
})();